import request from '@/utils/request'

// 查询工艺要点审批列表
export function listtechnologyExamineApprove(query) {
  return request({
    url: '/showcase_1580/technologyExamineApprove1580/list',
    method: 'get',
    params: query
  })
}

// 查询工艺要点审批详细
export function gettechnologyExamineApprove(id) {
  return request({
    url: '/showcase_1580/technologyExamineApprove1580/' + id,
    method: 'get'
  })
}

// 新增工艺要点审批
export function addtechnologyExamineApprove(data) {
  return request({
    url: '/showcase_1580/technologyExamineApprove1580',
    method: 'post',
    data: data
  })
}

// 修改工艺要点审批
export function updatetechnologyExamineApprove(data) {
  return request({
    url: '/showcase_1580/technologyExamineApprove1580',
    method: 'put',
    data: data
  })
}

// 删除工艺要点审批
export function deltechnologyExamineApprove(id) {
  return request({
    url: '/showcase_1580/technologyExamineApprove1580/' + id,
    method: 'delete'
  })
}
